package com.hdax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hdax.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 客户表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-03-22
 */
public interface CustomerService extends IService<Customer> {

    IPage<Customer> findCustomer(IPage<?> page, @Param("map") Map map);

    Customer findCustomerById(Integer id);

    Integer findThisMonthCustomerAddCount();

    Integer findCustomerCount();

    Float findCustomerChainCompare();

    Map findThisYearCustomerIncre();


}
